package com.atguigu.yygh.hosp;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

/**
 * @Author luoyin
 * @Date 13:18 2022/9/19
 **/
@EnableAspectJAutoProxy
@SpringBootApplication
@MapperScan("com.atguigu.yygh.hosp.mapper")
@ComponentScan("com.atguigu.yygh")
@EnableDiscoveryClient
@EnableFeignClients("com.atguigu.yygh")
public class ServiceHospApplication {
    public static void main(String[] args) {
        SpringApplication.run(ServiceHospApplication.class,args);
    }
}
